const staticRoutes = [
  {
    /********************************   应用管理 Start   ***************************************/
    path: '/app-manage',
    // redirect: "/app-manage/list",
    component: () => import(/* webpackChunkName: "appManage" */ '@/views/app-manage/index.vue'),
    meta: { title: '应用管理', isSingle: true },
  },
  {
    path: '/app-manage/detail',
    name: 'AppManageDetail',
    redirect: '/app-manage/detail/basic-info/app',
    component: () => import(/* webpackChunkName: "appManageDetail" */ '@/views/app-manage/app-detail/index.vue'),
    meta: { title: '应用详情', isHidden: true },
    children: [
      {
        path: '/app-manage/detail/basic-info/app',
        component: () =>
          import(/* webpackChunkName: "addManageBasicInfoApp" */ '@/views/app-manage/app-detail/basic-info-app.vue'),
        meta: { title: '应用信息' },
      },
      {
        path: '/app-manage/detail/basic-info/clients',
        component: () =>
          import(
            /* webpackChunkName: "addManageBasicInfoClients" */ '@/views/app-manage/app-detail/basic-info-clients.vue'
          ),
        meta: { title: '客户端管理' },
      },
      {
        path: '/app-manage/detail/develop-manage/third-party',
        component: () =>
          import(
            /* webpackChunkName: "addManageDevelopThirdParty" */ '@/views/app-manage/app-detail/develop-manage-third-party.vue'
          ),
        meta: { title: '第三方管理' },
      },
    ],
  },
  /*********************************   应用管理 End   ****************************************/
  {
    path: '/manage',
    redirect: '/manage/pageManage',
    meta: { title: '管理' },
    children: [
      {
        path: '/manage/layoutManage',
        component: () => import(/* webpackChunkName: "layoutManage" */ '@/views/manage/layout-manage/layout-manage'),
        meta: { icon: 'user', title: '布局管理' },
      },
      {
        path: '/manage/portletManage',
        component: () => import(/* webpackChunkName: "portletManage" */ '@/views/manage/portlet-manage/portlet-manage'),
        meta: { icon: 'user', title: '组件管理' },
      },
      {
        path: '/manage/portletCategory',
        component: () =>
          import(/* webpackChunkName: "portletCM" */ '@/views/manage/portlet-categoray-manage/portlet-cm'),
        meta: { icon: 'user', title: '组件分类管理' },
      },
      {
        path: '/manage/pageManage',
        component: () => import(/* webpackChunkName: "pageManage" */ '@/views/manage/page-manage/page-manage'),
        meta: { icon: 'user', title: '页面管理' },
      },
    ],
  },
  {
    path: '/funcManag',
    redirect: '/funcManag/funcAggr',
    meta: { title: '功能菜单管理' },
    children: [
      {
        path: '/funcManag/funcAggr',
        component: () => import(/* webpackChunkName: "funcAggr" */ '@/views/func-manag/func-aggr/func-aggr'),
        meta: { icon: 'user', title: '功能池' },
      },
      {
        path: '/funcManag/menuManag',
        component: () => import(/* webpackChunkName: "menuManag" */ '@/views/func-manag/menu-manag/menu-manag'),
        meta: { icon: 'user', title: '菜单管理' },
      },
    ],
  },
  {
    path: '/roleManag',
    component: () => import(/* webpackChunkName: "role" */ '@/views/role-manag/role/role.vue'),
    meta: { title: '角色管理', isSingle: true },
  },
  {
    path: '/permissionManag',
    component: () => import(/* webpackChunkName: "role" */ '@/views/permission-manag/index'),
    meta: { title: '权限管理', isSingle: true },
  },
  {
    path: '/MQpage',
    component: () => import(/* webpackChunkName: "MQpage" */ '@/views/mq-page/mq-page.vue'),
    meta: { title: 'MQ消息', isSingle: true },
  },
  /********************************   变更日志 Start   ***************************************/
  {
    path: '/change-log',
    component: () => import(/* webpackChunkName: "changeLog" */ '@/views/change-log/index.vue'),
    meta: { title: '变更日志', isSingle: true },
  },
  /*********************************   变更日志 End   ****************************************/
]

export default staticRoutes
